package com.gimi.cloud.bbp.manage.consumer.service.prod;

import com.gimi.cloud.bbp.common.exception.MsgException;
import com.gimi.cloud.bbp.common.utils.reqhead.Response;

import org.springframework.web.bind.annotation.RequestBody;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * @auther loongs
 * @date 2017/12/18  15:54
 */
public interface ProdCatModelService {
    /**
     * 获取商品品类模板列表
     * @return 菜单列表
     */
	Response getProdCatModelList(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response)throws MsgException;

    /**
     * 添加商品品类模板
     * @return 菜单列表
     */
	Response addProdCatModel(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws MsgException;

    /**
     * 编辑商品品类模板
     * @return 菜单列表
     */
	Response editProdCatModel(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws MsgException;

    /**
     * 转跳到编辑商品品类模板界面
     * @return 菜单列表
     */
	Response gotoEditProdCatModel(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws MsgException;

    /**
     * 删除商品品类模板，逻辑删除，非真实删除
     * @return 菜单列表
     */
	Response deleteProdCatModel(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws MsgException;
    /**
     * 删除商品品类模板
     * @return 菜单列表
     */
	Response realDeleteProdCatModel(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response) throws MsgException;

    /**
     * 获得模板对应的所有属性值
     * @return 菜单列表
     */
	Response getProdCatModelValueList(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response)throws MsgException;

    /**
     * 添加指定模板的属性值
     * @return 菜单列表
     */
	Response addProdCatModelValue(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response)throws MsgException;

    /**
     * 跳转到指定模板的属性值修改界面
     * @return 菜单列表
     */
	Response gotoEditProdCatModelValue(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response)throws MsgException;

    /**
     * 修改指定模板的属性值
     * @return 菜单列表
     */
	Response editProdCatModelValue(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response)throws MsgException;

    /**
     * 删除指定模板的属性的其中一个值
     * @return 菜单列表
     */
	Response realDeleteProdCatModelValue(@RequestBody String requestBody, HttpServletRequest request, HttpServletResponse response)throws MsgException;
}
